package xian.woniu.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUIdIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andUIdIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andUIdEqualTo(Integer value) {
            addCriterion("u_id =", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotEqualTo(Integer value) {
            addCriterion("u_id <>", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThan(Integer value) {
            addCriterion("u_id >", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_id >=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThan(Integer value) {
            addCriterion("u_id <", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdLessThanOrEqualTo(Integer value) {
            addCriterion("u_id <=", value, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdIn(List<Integer> values) {
            addCriterion("u_id in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotIn(List<Integer> values) {
            addCriterion("u_id not in", values, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdBetween(Integer value1, Integer value2) {
            addCriterion("u_id between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUIdNotBetween(Integer value1, Integer value2) {
            addCriterion("u_id not between", value1, value2, "uId");
            return (Criteria) this;
        }

        public Criteria andUAccountIsNull() {
            addCriterion("u_account is null");
            return (Criteria) this;
        }

        public Criteria andUAccountIsNotNull() {
            addCriterion("u_account is not null");
            return (Criteria) this;
        }

        public Criteria andUAccountEqualTo(String value) {
            addCriterion("u_account =", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountNotEqualTo(String value) {
            addCriterion("u_account <>", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountGreaterThan(String value) {
            addCriterion("u_account >", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountGreaterThanOrEqualTo(String value) {
            addCriterion("u_account >=", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountLessThan(String value) {
            addCriterion("u_account <", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountLessThanOrEqualTo(String value) {
            addCriterion("u_account <=", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountLike(String value) {
            addCriterion("u_account like", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountNotLike(String value) {
            addCriterion("u_account not like", value, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountIn(List<String> values) {
            addCriterion("u_account in", values, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountNotIn(List<String> values) {
            addCriterion("u_account not in", values, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountBetween(String value1, String value2) {
            addCriterion("u_account between", value1, value2, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUAccountNotBetween(String value1, String value2) {
            addCriterion("u_account not between", value1, value2, "uAccount");
            return (Criteria) this;
        }

        public Criteria andUPasswordIsNull() {
            addCriterion("u_password is null");
            return (Criteria) this;
        }

        public Criteria andUPasswordIsNotNull() {
            addCriterion("u_password is not null");
            return (Criteria) this;
        }

        public Criteria andUPasswordEqualTo(String value) {
            addCriterion("u_password =", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordNotEqualTo(String value) {
            addCriterion("u_password <>", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordGreaterThan(String value) {
            addCriterion("u_password >", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("u_password >=", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordLessThan(String value) {
            addCriterion("u_password <", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordLessThanOrEqualTo(String value) {
            addCriterion("u_password <=", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordLike(String value) {
            addCriterion("u_password like", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordNotLike(String value) {
            addCriterion("u_password not like", value, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordIn(List<String> values) {
            addCriterion("u_password in", values, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordNotIn(List<String> values) {
            addCriterion("u_password not in", values, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordBetween(String value1, String value2) {
            addCriterion("u_password between", value1, value2, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUPasswordNotBetween(String value1, String value2) {
            addCriterion("u_password not between", value1, value2, "uPassword");
            return (Criteria) this;
        }

        public Criteria andUNicknameIsNull() {
            addCriterion("u_nickname is null");
            return (Criteria) this;
        }

        public Criteria andUNicknameIsNotNull() {
            addCriterion("u_nickname is not null");
            return (Criteria) this;
        }

        public Criteria andUNicknameEqualTo(String value) {
            addCriterion("u_nickname =", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameNotEqualTo(String value) {
            addCriterion("u_nickname <>", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameGreaterThan(String value) {
            addCriterion("u_nickname >", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("u_nickname >=", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameLessThan(String value) {
            addCriterion("u_nickname <", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameLessThanOrEqualTo(String value) {
            addCriterion("u_nickname <=", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameLike(String value) {
            addCriterion("u_nickname like", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameNotLike(String value) {
            addCriterion("u_nickname not like", value, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameIn(List<String> values) {
            addCriterion("u_nickname in", values, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameNotIn(List<String> values) {
            addCriterion("u_nickname not in", values, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameBetween(String value1, String value2) {
            addCriterion("u_nickname between", value1, value2, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNicknameNotBetween(String value1, String value2) {
            addCriterion("u_nickname not between", value1, value2, "uNickname");
            return (Criteria) this;
        }

        public Criteria andUNameIsNull() {
            addCriterion("u_name is null");
            return (Criteria) this;
        }

        public Criteria andUNameIsNotNull() {
            addCriterion("u_name is not null");
            return (Criteria) this;
        }

        public Criteria andUNameEqualTo(String value) {
            addCriterion("u_name =", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameNotEqualTo(String value) {
            addCriterion("u_name <>", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameGreaterThan(String value) {
            addCriterion("u_name >", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameGreaterThanOrEqualTo(String value) {
            addCriterion("u_name >=", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameLessThan(String value) {
            addCriterion("u_name <", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameLessThanOrEqualTo(String value) {
            addCriterion("u_name <=", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameLike(String value) {
            addCriterion("u_name like", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameNotLike(String value) {
            addCriterion("u_name not like", value, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameIn(List<String> values) {
            addCriterion("u_name in", values, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameNotIn(List<String> values) {
            addCriterion("u_name not in", values, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameBetween(String value1, String value2) {
            addCriterion("u_name between", value1, value2, "uName");
            return (Criteria) this;
        }

        public Criteria andUNameNotBetween(String value1, String value2) {
            addCriterion("u_name not between", value1, value2, "uName");
            return (Criteria) this;
        }

        public Criteria andUCardidIsNull() {
            addCriterion("u_cardID is null");
            return (Criteria) this;
        }

        public Criteria andUCardidIsNotNull() {
            addCriterion("u_cardID is not null");
            return (Criteria) this;
        }

        public Criteria andUCardidEqualTo(String value) {
            addCriterion("u_cardID =", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidNotEqualTo(String value) {
            addCriterion("u_cardID <>", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidGreaterThan(String value) {
            addCriterion("u_cardID >", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidGreaterThanOrEqualTo(String value) {
            addCriterion("u_cardID >=", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidLessThan(String value) {
            addCriterion("u_cardID <", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidLessThanOrEqualTo(String value) {
            addCriterion("u_cardID <=", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidLike(String value) {
            addCriterion("u_cardID like", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidNotLike(String value) {
            addCriterion("u_cardID not like", value, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidIn(List<String> values) {
            addCriterion("u_cardID in", values, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidNotIn(List<String> values) {
            addCriterion("u_cardID not in", values, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidBetween(String value1, String value2) {
            addCriterion("u_cardID between", value1, value2, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUCardidNotBetween(String value1, String value2) {
            addCriterion("u_cardID not between", value1, value2, "uCardid");
            return (Criteria) this;
        }

        public Criteria andUTelIsNull() {
            addCriterion("u_tel is null");
            return (Criteria) this;
        }

        public Criteria andUTelIsNotNull() {
            addCriterion("u_tel is not null");
            return (Criteria) this;
        }

        public Criteria andUTelEqualTo(String value) {
            addCriterion("u_tel =", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelNotEqualTo(String value) {
            addCriterion("u_tel <>", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelGreaterThan(String value) {
            addCriterion("u_tel >", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelGreaterThanOrEqualTo(String value) {
            addCriterion("u_tel >=", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelLessThan(String value) {
            addCriterion("u_tel <", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelLessThanOrEqualTo(String value) {
            addCriterion("u_tel <=", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelLike(String value) {
            addCriterion("u_tel like", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelNotLike(String value) {
            addCriterion("u_tel not like", value, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelIn(List<String> values) {
            addCriterion("u_tel in", values, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelNotIn(List<String> values) {
            addCriterion("u_tel not in", values, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelBetween(String value1, String value2) {
            addCriterion("u_tel between", value1, value2, "uTel");
            return (Criteria) this;
        }

        public Criteria andUTelNotBetween(String value1, String value2) {
            addCriterion("u_tel not between", value1, value2, "uTel");
            return (Criteria) this;
        }

        public Criteria andUImgIsNull() {
            addCriterion("u_img is null");
            return (Criteria) this;
        }

        public Criteria andUImgIsNotNull() {
            addCriterion("u_img is not null");
            return (Criteria) this;
        }

        public Criteria andUImgEqualTo(String value) {
            addCriterion("u_img =", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgNotEqualTo(String value) {
            addCriterion("u_img <>", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgGreaterThan(String value) {
            addCriterion("u_img >", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgGreaterThanOrEqualTo(String value) {
            addCriterion("u_img >=", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgLessThan(String value) {
            addCriterion("u_img <", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgLessThanOrEqualTo(String value) {
            addCriterion("u_img <=", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgLike(String value) {
            addCriterion("u_img like", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgNotLike(String value) {
            addCriterion("u_img not like", value, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgIn(List<String> values) {
            addCriterion("u_img in", values, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgNotIn(List<String> values) {
            addCriterion("u_img not in", values, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgBetween(String value1, String value2) {
            addCriterion("u_img between", value1, value2, "uImg");
            return (Criteria) this;
        }

        public Criteria andUImgNotBetween(String value1, String value2) {
            addCriterion("u_img not between", value1, value2, "uImg");
            return (Criteria) this;
        }

        public Criteria andUBalanceIsNull() {
            addCriterion("u_balance is null");
            return (Criteria) this;
        }

        public Criteria andUBalanceIsNotNull() {
            addCriterion("u_balance is not null");
            return (Criteria) this;
        }

        public Criteria andUBalanceEqualTo(BigDecimal value) {
            addCriterion("u_balance =", value, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceNotEqualTo(BigDecimal value) {
            addCriterion("u_balance <>", value, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceGreaterThan(BigDecimal value) {
            addCriterion("u_balance >", value, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("u_balance >=", value, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceLessThan(BigDecimal value) {
            addCriterion("u_balance <", value, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("u_balance <=", value, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceIn(List<BigDecimal> values) {
            addCriterion("u_balance in", values, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceNotIn(List<BigDecimal> values) {
            addCriterion("u_balance not in", values, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("u_balance between", value1, value2, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("u_balance not between", value1, value2, "uBalance");
            return (Criteria) this;
        }

        public Criteria andUEmailIsNull() {
            addCriterion("u_email is null");
            return (Criteria) this;
        }

        public Criteria andUEmailIsNotNull() {
            addCriterion("u_email is not null");
            return (Criteria) this;
        }

        public Criteria andUEmailEqualTo(String value) {
            addCriterion("u_email =", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailNotEqualTo(String value) {
            addCriterion("u_email <>", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailGreaterThan(String value) {
            addCriterion("u_email >", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailGreaterThanOrEqualTo(String value) {
            addCriterion("u_email >=", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailLessThan(String value) {
            addCriterion("u_email <", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailLessThanOrEqualTo(String value) {
            addCriterion("u_email <=", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailLike(String value) {
            addCriterion("u_email like", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailNotLike(String value) {
            addCriterion("u_email not like", value, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailIn(List<String> values) {
            addCriterion("u_email in", values, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailNotIn(List<String> values) {
            addCriterion("u_email not in", values, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailBetween(String value1, String value2) {
            addCriterion("u_email between", value1, value2, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUEmailNotBetween(String value1, String value2) {
            addCriterion("u_email not between", value1, value2, "uEmail");
            return (Criteria) this;
        }

        public Criteria andUAddressIsNull() {
            addCriterion("u_address is null");
            return (Criteria) this;
        }

        public Criteria andUAddressIsNotNull() {
            addCriterion("u_address is not null");
            return (Criteria) this;
        }

        public Criteria andUAddressEqualTo(String value) {
            addCriterion("u_address =", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressNotEqualTo(String value) {
            addCriterion("u_address <>", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressGreaterThan(String value) {
            addCriterion("u_address >", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressGreaterThanOrEqualTo(String value) {
            addCriterion("u_address >=", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressLessThan(String value) {
            addCriterion("u_address <", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressLessThanOrEqualTo(String value) {
            addCriterion("u_address <=", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressLike(String value) {
            addCriterion("u_address like", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressNotLike(String value) {
            addCriterion("u_address not like", value, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressIn(List<String> values) {
            addCriterion("u_address in", values, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressNotIn(List<String> values) {
            addCriterion("u_address not in", values, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressBetween(String value1, String value2) {
            addCriterion("u_address between", value1, value2, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUAddressNotBetween(String value1, String value2) {
            addCriterion("u_address not between", value1, value2, "uAddress");
            return (Criteria) this;
        }

        public Criteria andUIntegralIsNull() {
            addCriterion("u_integral is null");
            return (Criteria) this;
        }

        public Criteria andUIntegralIsNotNull() {
            addCriterion("u_integral is not null");
            return (Criteria) this;
        }

        public Criteria andUIntegralEqualTo(Integer value) {
            addCriterion("u_integral =", value, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralNotEqualTo(Integer value) {
            addCriterion("u_integral <>", value, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralGreaterThan(Integer value) {
            addCriterion("u_integral >", value, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_integral >=", value, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralLessThan(Integer value) {
            addCriterion("u_integral <", value, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralLessThanOrEqualTo(Integer value) {
            addCriterion("u_integral <=", value, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralIn(List<Integer> values) {
            addCriterion("u_integral in", values, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralNotIn(List<Integer> values) {
            addCriterion("u_integral not in", values, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralBetween(Integer value1, Integer value2) {
            addCriterion("u_integral between", value1, value2, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUIntegralNotBetween(Integer value1, Integer value2) {
            addCriterion("u_integral not between", value1, value2, "uIntegral");
            return (Criteria) this;
        }

        public Criteria andUStateIsNull() {
            addCriterion("u_state is null");
            return (Criteria) this;
        }

        public Criteria andUStateIsNotNull() {
            addCriterion("u_state is not null");
            return (Criteria) this;
        }

        public Criteria andUStateEqualTo(Integer value) {
            addCriterion("u_state =", value, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateNotEqualTo(Integer value) {
            addCriterion("u_state <>", value, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateGreaterThan(Integer value) {
            addCriterion("u_state >", value, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_state >=", value, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateLessThan(Integer value) {
            addCriterion("u_state <", value, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateLessThanOrEqualTo(Integer value) {
            addCriterion("u_state <=", value, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateIn(List<Integer> values) {
            addCriterion("u_state in", values, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateNotIn(List<Integer> values) {
            addCriterion("u_state not in", values, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateBetween(Integer value1, Integer value2) {
            addCriterion("u_state between", value1, value2, "uState");
            return (Criteria) this;
        }

        public Criteria andUStateNotBetween(Integer value1, Integer value2) {
            addCriterion("u_state not between", value1, value2, "uState");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1IsNull() {
            addCriterion("u_beiyong1 is null");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1IsNotNull() {
            addCriterion("u_beiyong1 is not null");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1EqualTo(String value) {
            addCriterion("u_beiyong1 =", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1NotEqualTo(String value) {
            addCriterion("u_beiyong1 <>", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1GreaterThan(String value) {
            addCriterion("u_beiyong1 >", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1GreaterThanOrEqualTo(String value) {
            addCriterion("u_beiyong1 >=", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1LessThan(String value) {
            addCriterion("u_beiyong1 <", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1LessThanOrEqualTo(String value) {
            addCriterion("u_beiyong1 <=", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1Like(String value) {
            addCriterion("u_beiyong1 like", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1NotLike(String value) {
            addCriterion("u_beiyong1 not like", value, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1In(List<String> values) {
            addCriterion("u_beiyong1 in", values, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1NotIn(List<String> values) {
            addCriterion("u_beiyong1 not in", values, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1Between(String value1, String value2) {
            addCriterion("u_beiyong1 between", value1, value2, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong1NotBetween(String value1, String value2) {
            addCriterion("u_beiyong1 not between", value1, value2, "uBeiyong1");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2IsNull() {
            addCriterion("u_beiyong2 is null");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2IsNotNull() {
            addCriterion("u_beiyong2 is not null");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2EqualTo(String value) {
            addCriterion("u_beiyong2 =", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2NotEqualTo(String value) {
            addCriterion("u_beiyong2 <>", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2GreaterThan(String value) {
            addCriterion("u_beiyong2 >", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2GreaterThanOrEqualTo(String value) {
            addCriterion("u_beiyong2 >=", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2LessThan(String value) {
            addCriterion("u_beiyong2 <", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2LessThanOrEqualTo(String value) {
            addCriterion("u_beiyong2 <=", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2Like(String value) {
            addCriterion("u_beiyong2 like", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2NotLike(String value) {
            addCriterion("u_beiyong2 not like", value, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2In(List<String> values) {
            addCriterion("u_beiyong2 in", values, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2NotIn(List<String> values) {
            addCriterion("u_beiyong2 not in", values, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2Between(String value1, String value2) {
            addCriterion("u_beiyong2 between", value1, value2, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong2NotBetween(String value1, String value2) {
            addCriterion("u_beiyong2 not between", value1, value2, "uBeiyong2");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3IsNull() {
            addCriterion("u_beiyong3 is null");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3IsNotNull() {
            addCriterion("u_beiyong3 is not null");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3EqualTo(String value) {
            addCriterion("u_beiyong3 =", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3NotEqualTo(String value) {
            addCriterion("u_beiyong3 <>", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3GreaterThan(String value) {
            addCriterion("u_beiyong3 >", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3GreaterThanOrEqualTo(String value) {
            addCriterion("u_beiyong3 >=", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3LessThan(String value) {
            addCriterion("u_beiyong3 <", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3LessThanOrEqualTo(String value) {
            addCriterion("u_beiyong3 <=", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3Like(String value) {
            addCriterion("u_beiyong3 like", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3NotLike(String value) {
            addCriterion("u_beiyong3 not like", value, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3In(List<String> values) {
            addCriterion("u_beiyong3 in", values, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3NotIn(List<String> values) {
            addCriterion("u_beiyong3 not in", values, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3Between(String value1, String value2) {
            addCriterion("u_beiyong3 between", value1, value2, "uBeiyong3");
            return (Criteria) this;
        }

        public Criteria andUBeiyong3NotBetween(String value1, String value2) {
            addCriterion("u_beiyong3 not between", value1, value2, "uBeiyong3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}